﻿using System;
using TMT_CMS.BL.Excel.AttributeUtility;

namespace TMT_CMS.BL.Excel.Entity
{
    public class UnitType
    {
        private short _ID = -1;
        private string _ChineseName = string.Empty;
        private string _EnglishName = string.Empty;

        [DataAttribute("ID", AttributeUtility.DataType.ShortInt, "计量单位编号")]
        public short ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        [DataAttribute("ChineseName", AttributeUtility.DataType.String, "中文名字")]
        public string ChineseName
        {
            get { return _ChineseName; }
            set { _ChineseName = value; }
        }

        [DataAttribute("EnglishName", AttributeUtility.DataType.String, "英文名字")]
        public string EnglishName
        {
            get { return _EnglishName; }
            set { _EnglishName = value; }
        }
    }
}
